<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>HomeWork1</title>
    <script>
  var name =prompt('请输入你的名字：');
  document.write('你的名字是：'+name);
    </script>
   
</head>
<body>

</body>
</html>